package cn.leaf.mybatis.injector;

import com.baomidou.mybatisplus.core.injector.DefaultSqlInjector;

/**
 *
 * description: 自定义的 sql 注入
 *
 * @author twinkle leaf
 * @version v1.0.0
 * @since 2021-11-07 09:13:03
 * slogan: There are no two identical leaves in the world.
 *
 */
public class LeafSqlInjector extends DefaultSqlInjector {

//	@Override
//	public List<AbstractMethod> getMethodList(Class<?> mapperClass) {
//		List<AbstractMethod> methodList = new ArrayList<>();
//		methodList.add(new InsertBatch());
//		methodList.add(new InsertIgnore());
//		methodList.add(new InsertIgnoreBatch());
//		methodList.add(new Replace());
//		methodList.add(new ReplaceBatch());
//		methodList.addAll(super.getMethodList(mapperClass));
//		return Collections.unmodifiableList(methodList);
//	}
}
